import styled from "styled-components";

export const Wrapper = styled.div`
    margin-top: 84px;

    .main {
        padding: 24px;
        width: 1224px;
        margin: auto;
        background: #fff;

        .first {
            background: #fff;
            border: 1px solid #dadce0;
            padding: 40px 24px 24px;
            position: relative;
            border-radius: 4px;

            .mark {
                position: absolute;
                background: #ffb607;
                color: #fff;
                font-size: 14px;
                left: 0;
                top: 0;
                border-bottom-right-radius: 4px;
                text-align: center;
                padding: 8px;
            }

            h1 {
                margin: 0;
                text-align: start;
                font-size: 24px;
                color: #1f2023;
                font-weight: 500;
                line-height: 36px;

                span {
                    vertical-align: middle;
                    margin-right: 5px;
                }
            }

            .detail {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 16px 0;

                .left {
                    display: flex;
                    align-items: center;

                    img {
                        width: 32px;
                        height: 32px;
                        border-radius: 50%;
                        margin-right: 8px;
                    }

                    b {
                        font-size: 14px;
                        color: #3c4043;
                    }

                    span {
                        font-size: 12px;
                        margin: 0 14px;
                        color: #74787c;
                    }
                }
            }

            .tags {
                .tag {
                    padding: 0 10px;
                    line-height: 30px;
                    font-size: 12px;
                    color: #4285f4;
                    border-width: 1px;
                    border-style: solid;
                    border-radius: 4px;
                    box-sizing: border-box;
                    white-space: nowrap;
                    height: 20px;
                    margin-right: 8px;
                    background: #f8f9fa;
                    border-color: #f8f9fa;
                }
            }
        }

        .comment-list {
            color: #3c4043;
            background: #fff;

            .container {
                .comment-main {
                    display: flex;
                    align-items: center;
                    margin-top: 24px;
                    padding: 12px;
                    border-bottom: 2px solid #4285f4;
                    background: #f8f9fa;

                    .left {
                        img {
                            width: 32px;
                            height: 32px;
                            border-radius: 50%;
                        }
                    }

                    .right {
                        flex: 1;
                    }
                }

                .tool {
                    display: flex;
                    align-items: center;
                    margin: 16px 0;
                    justify-content: flex-end;
                }
            }

            .list {
                margin-top: 12px;

                h1 {
                    font-size: 20px;
                    color: #3c4043;
                    line-height: 24px;
                    display: flex;
                    align-items: center;

                    span {
                        font-size: 12px;
                        color: #74787c;
                        padding: 0 8px;
                    }
                }

                .comment-item {
                    margin-top: 16px;
                    border: 1px solid #dadce0;
                    border-radius: 4px;
                    padding: 24px;
                    position: relative;

                    .text {
                        font-size: 14px;
                        line-height: 24px;
                        margin-bottom: 16px;
                        text-align: start;
                    }

                    .footer {
                        font-size: 12px;
                        display: flex;
                        align-items: center;
                        border-top: 1px solid #dadce0;
                        padding-top: 10px;

                        .left {
                            display: flex;
                            align-items: center;

                            img {
                                width: 32px;
                                height: 32px;
                                border-radius: 50%;
                            }

                            h3 {
                                color: #3c4043;
                                font-size: 14px;
                                font-weight: 500;
                                margin: 0 10px 0 8px;
                            }

                            span {
                                color: #74787c;
                            }
                        }
                    }
                }
            }
        }
    }
`;